<!DOCTYPE html>
<%@page pageEncoding="UTF-8"%>
<html>
<!-- 
  - Author(s): waffie
  - Date: 2020-08-21 15:55:35
  - Description:
-->
<head>
<title>template1</title>
<%@include file="/resource/template1.jsp"%>
</head>
<body>
<div class="fullBody">
    <div class="header">
        <div class="logo">信息化项目过程管控系统</div>
        <div class="search-top">
        	<input id="search" class="nui-textbox text-search" emptyText="请输入关键字" />
        	<a class="nui-button btnSearch" iconCls="icon-search">查询</a>
        </div>
        <div class="right-info">
        	<i class="fa fa-user-circle"></i>
        	<i class="user">设计员</i>
        </div>
        <ul class="nav" id="nav">
        	<li class="ls" onclick="setNavActive(this, 'page/pageHome.jsp')"><i>首页</i></li>
        	<li class="ls" onclick="setNavActive(this, 'page/pageProject.jsp')"><i>项目管理</i></li>
        	<li class="ls" onclick="setNavActive(this, 'page/pageProjectDetail.jsp')"><i>计划管理</i></li>
        </ul>
    </div>
    <div class="nui-fit" style="overflow:hidden;">
    	<iframe id="frameContent" src="" frameborder="0" scrolling="no" style="width:100%;height:100%;"></iframe>
    </div>
    <div class="footer"> Copyright © 信息技术部 </div>
</div>
<script type="text/javascript">
nui.parse();

// 页面加载完成后执行
$(function(){
	$("#nav .ls").first().click();
});

// 导航设置
var setNavActive = function(obj, url) {
	if (!url) return;
	$(obj).addClass("active").siblings().removeClass("active");
	$("#frameContent").attr("src", url);
}
</script>
</body>
</html>